@import "public.less";
@import "button.less";

.item{
    margin-top: 10px;
//  padding:0 10px;
    background: @white;
    
    &:first-child{
        margin-top: 0;
    }
    
    .title{
        overflow: hidden;
        .fontSize(24px);
        height: 29px; 
        line-height: 29px; 
        padding:0 10px;
        div{
            color: @cfont2;
        }
        span{
            color: @red; 
        }    
    }
    .product{ 
        background: @white; 
        .mui-table-view{
            background: @white;
            &:after{
                background: #F6F6F6;
            }
        }
        .mui-table-view-cell{ 
            
            padding:10px;  
        }
        .mui-table-view-cell>a:not(.mui-btn){
            margin:0;
            padding: 0;
        } 
        .mui-media-object{
            line-height: 85px;
            width: 100px;
            max-width: 200px;
            height: auto !important; 
        }
        .mui-media-body{
            white-space:normal;
            .name{
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                word-break: break-all;
                .fontSize(29.63px);
                color: @cfont;
                overflow: hidden;
            }
            p{
                margin:5px 0;
                color: @cfont;
                .fontSize(24px);  
            }
        }
        .mui-table-view-cell:after,
        .mui-table-view:before{
            background-color: #ebebeb;
        }
    }
    .item-footer{
        padding:10px;
        text-align: right;
        p{
            
            .fontSize(24px);
            color: @cfont3;
            margin-bottom: 4px;
            span{
                color: @cfont3;
                .fontSize(30px); 
            }
            span.money-color{
                color: @red;
            }
        }
        
    }
    button.bexta-btn{
            padding:3px 12px
        }
    &.comment{
        background: @white;
        .product,.mui-table-view{
            background: @white;
            .merchant-name{
                margin-top: 0px;
                color: @cfont2;
                .fontSize(24px);
            }
            .name{
                 line-height: 18px;
            }
            .handle{
                text-align: right;
            }
            
        }
    }
    
}


.orderHead{
    height: 80px/2;
    background: @white;
    font-size: 28px/2;
    color: @cfont;
    text-align:center;
    span{
        display: inline-block;
        margin:0 auto;
        line-height: 80px/2;
        padding:0 10px;
        border-bottom: 1px solid transparent;
    }
    .active{
        color: @red;
        span{
             border-bottom: 1px solid @red;
        }
    }
}

.cart-count{
    position: fixed;
    bottom: 0;
    left: 0;
    height: 50px;
    width: 100%;
    background: @white;
    border-top: 1px solid #ebebeb;
    z-index: 10001;
    .mui-pull-right{
        line-height: 50px;
        background: @red;
        color: @white;
        min-width: 30%;
        text-align: center;
        .fontSize(36px);
    }
    .count{
        text-align: right;
        line-height: 50px;
        span{
            padding-right: 10px;
            color:@cfont;
            .fontSize(36px);
        }
        .mui-checkbox.mui-left input[type=checkbox]{
            left: 10px;
            width: 19px;
            height: 19px;
            top:13px; 
            &:before{
                font-size: 19px;
            }
        }
        .mui-checkbox.mui-left label{
            padding-left: 35px;
            .fontSize(30px);
            color: @cfont;
        }
        .mui-checkbox input[type=checkbox]:checked:before{
            color: @red;
        }
    }
    
}

.orderHeadAll{
    div{
        float: left;
        width: 20%;
        height: 40px;
        color: @cfont;
        font-size: 28px/2;
        text-align: center;
        background: @white;
        span{
            display: inline-block;
            line-height: 39px;
            padding:0 4px;
            border-bottom: 1px solid transparent;
        }
        &.active{
            span{
                color: @red;
                border-bottom: 1px solid @red;
            }
        }
    }
}
